package com.iris.live.services.data.repositories;

import com.iris.live.services.data.models.报价精品详细表精品Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by sxy on 2016/7/11.
 */
public interface 报价精品详细表精品Repository extends JpaRepository<报价精品详细表精品Model, Integer>, JpaSpecificationExecutor<报价精品详细表精品Model> {

    @Query("select a from 报价精品详细表精品Model a where a.productId=?1 and a.comboId=?2 and a.编号=?3")
    public List<报价精品详细表精品Model> findByThree(int num, int permit,int bianhao);


}
